Share of people who respond they are “very happy” or “rather happy” to the question “Taking all things together, would you say you are … ?”

🔢 Table

🌎 Map

📈 Chart

Advanced (Optional) 📈

The following chart demonstrates that it is possible to approximate the functionality of our World in Data grapher for multicountry selection using R, specifically with the crosstalk package and a small amount of custom JavaScript. For more information on how to achieve this, see this Stack Overflow question.

Note that this is not a required task, but rather a showcase of what can be achieved. The code for this will be shared when we provide the solutions for the exercise.

Data source: World Happiness Report

OurWorldInData.org/happiness-and-life-satisfaction | CC BY